﻿<template>
    <el-switch
            v-model="value"
            active-color="#13ce66"
            inactive-color="#ff4949"
            @change="iskaiq">
    </el-switch>
</template>

<script>
    export default {
        name: "user",
        data () {
            return {
                value: true
            }
        },
        methods:{
            iskaiq(){
                console.log(this.value)
            }
        }
    }
</script>

<style>

</style>